package com.ssn.iterator.books;

public class Book {
    private String name;
    Book(String name){
        this.name = name;
    }
    public String getName() {
        return name;
    }
    @Override
    public String toString() {
        return "Book{" +
                "name='" + name + '\'' +
                '}';
    }
}
